JvnObject.java

Go to the documentation of this file.
00001 /***
00002  * JAVANAISE API
00003  *
00004  * @author Fabienne BOYER
00005  * @author Lionel DEBROUX, http://lionel.debroux.free.fr
00006  * @author Savas Ali TOKMEN, http://ali.tokmen.com
00007  */
00008 
00009 package jvn;
00010 
00011 import java.io.*;
00012 
00019 public interface JvnObject extends Serializable {
00020 
00025         public void jvnLockRead()
00026         throws jvn.JvnException;
00027 
00032         public void jvnLockWrite()
00033         throws jvn.JvnException;
00034 
00039         public void jvnUnLock()
00040         throws jvn.JvnException;
00041 
00042 
00047         public int jvnGetObjectId()
00048         throws jvn.JvnException;
00049 
00054         public void jvnSetObjectId(int id)
00055         throws jvn.JvnException;
00056 
00061         public Serializable jvnGetObjectState()
00062         throws jvn.JvnException;
00063 
00064 
00069         public void jvnInvalidateReader()
00070         throws jvn.JvnException;
00071 
00077         public Serializable jvnInvalidateWriter()
00078         throws jvn.JvnException;
00079 
00085         public Serializable jvnInvalidateWriterForReader()
00086         throws jvn.JvnException;
00087 }

Generated on Wed Jan 2 10:15:54 2008 for Javanaise by  doxygen 1.5.4